package apps.softtech.Model;

import android.view.View;

public class ViewLoadItem {
	private Tag mTag;
	private View mView;
	private String mValue;
	Boolean isRequireField;

	public ViewLoadItem(Tag tag) {
		this(tag, null, "");
	}

	public ViewLoadItem(Tag tag, String value) {
		this(tag, null, value);
	}

	public ViewLoadItem(Tag tag, View view, String value) {
		this(tag, view, value, false);
	}

	public ViewLoadItem(Tag tag, View view, String value, Boolean isRequireField) {
		this.mTag = tag;
		this.mView = view;
		this.mValue = value;
		this.isRequireField = isRequireField;
	}

	public Tag getTag() {
		return mTag;
	}

	public void setTag(Tag mTag) {
		this.mTag = mTag;
	}

	public String getValue() {
		return mValue;
	}

	public void setValue(String value) {
		this.mValue = value;
	}

	public View getView() {
		return mView;
	}

	public void setView(View mView) {
		this.mView = mView;
	}

	public Boolean isRequireField() {
		return isRequireField;
	}

	public void setRequireField(Boolean isRequireField) {
		this.isRequireField = isRequireField;
	}

}
